/*
 * Created on 2005-9-26
 */
/**
 * 
 */
package com.linkage.lcims.base.dao.business.impl;

import java.util.List;

import com.linkage.lcims.base.dao.HibernateBaseDAOImpl;
import com.linkage.lcims.base.dao.business.interfaces.NasTypeDAO;
import com.linkage.lcims.base.po.business.BdNasType;
import com.linkage.util.exception.DAOException;

/**
 * @author Administrator
 *
 */
@SuppressWarnings("unchecked")
public class NasTypeDAOImpl extends HibernateBaseDAOImpl implements NasTypeDAO {

	public NasTypeDAOImpl() {
		super();
	}

	public List<BdNasType> getAll() throws DAOException {
		return this.getAll(BdNasType.class);
	}

	public void saveNasType(BdNasType nasType) throws DAOException {
		this.save(nasType);
	}

	public void updateNasType(BdNasType nasType) throws DAOException {
		this.merge(nasType);
	}

	public void deleteNasType(BdNasType nasType) throws DAOException {
		this.delete(BdNasType.class, nasType.getComp_id());
	}

}
